package com.my.study.entity;

import lombok.Data;

/**
 * Table: sys_role
 */
@Data
public class Role {
    /**
     * Column: id
     * Type: VARCHAR(32)
     */
    private String id;

    /**
     * Column: role_name
     * Type: VARCHAR(20)
     * Remark: 角色名
     */
    private String roleName;

    /**
     * Column: create_time
     * Type: VARCHAR(20)
     * Remark: 创建时间
     */
    private String createTime;

    /**
     * Column: update_time
     * Type: VARCHAR(20)
     * Remark: 修改时间
     */
    private String updateTime;

    /**
     * Column: deleted
     * Type: TINYINT(3)
     * Default value: 0
     * Remark: 逻辑删除
     */
    private Byte deleted;

    /**
     * Column: role_id
     * Type: VARCHAR(40)
     */
    private String roleId;
}